package com.zbw.mapper;

import com.zbw.domain.Appoint;
import com.zbw.domain.Vo.BookVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppointMapper {
    List<BookVo> findAppointPartInfo(@Param("bookPartInfo") String bookPartInfo,@Param("username") String username);

    boolean insert(Appoint appoint);

    boolean update(Appoint appoint);

    List<BookVo> findByBookId(@Param("bookId")Integer bookId,@Param("userName") String userName);

    List<BookVo> selectKeYuYueBooks();

    void deleteBook(@Param("bookId") Integer bookId);
}
